<%--
  Created by IntelliJ IDEA.
  User: 边牧
  Date: 2023/1/5
  Time: 12:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <meta charset="UTF-8">
    <title>修改品牌</title>
</head>
<body>
<h3>修改品牌</h3>
<form action="/web04_1_war/servletUpdate" method="post">
    <input type="hidden" name="id" value="${bra.id}">
    品牌名称：<input name="brandName" value="${bra.name}"><br>
    企业名称：<input name="companyName" value="${bra.company}"><br>
    排序：<input name="ordered" value="${bra.ordered}"><br>
    描述信息：<textarea rows="5" cols="20" name="description" >${bra.des}</textarea><br>
    状态：
    <c:if test="${bra.status==0}">
    <input type="radio" name="status" value="0" checked="checked">禁用
    <input type="radio" name="status" value="1">启用<br>
    </c:if>

    <c:if test="${bra.status==1}">
        <input type="radio" name="status" value="0" >禁用
        <input type="radio" name="status" value="1" checked="checked">启用<br>
    </c:if>


    <input type="submit" value="修改">
</form>
</body>
</html>